package com.usabb.service;

import com.usabb.domain.HospitalRelationDO;
import com.ifast.common.base.CoreService;
import com.usabb.domain.RoundRelationDO;
import com.usabb.pojo.vo.AmenityAddVO;

import java.util.List;

/**
 * 
 * <pre>
 * 医院关联表
 * </pre>
 * <small> 2019-08-19 18:03:27 | Aron</small>
 */
public interface HospitalRelationService extends CoreService<HospitalRelationDO> {

    List<HospitalRelationDO> getListBy(final String bizType, final Long bizId);
    List<Long> getHospitalIdsBy(final String bizType, final Long bizId);

    boolean saveOrUpdate(AmenityAddVO addVO);
    boolean saveOrUpdate(String bizType, Long baseId, Long[] hospitalIds);

}
